package com.cn.mapper.dao.db5.Equipment;

import com.cn.bean.pojo.ComponentMechanical.EquipmentMechanicalStructureMappingTable;
import com.cn.bean.pojo.lbj.*;
import com.cn.bean.vo.Equipment.ComponentBasicInformation;
import com.cn.bean.vo.Equipment.EquipmentStructure;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SingleRegistrationTableDao {
    List<SingleRegistrationTable>selectMain(SingleRegistrationTable singleRegistrationTable);
    List<SingleRegistrationTableSub>selectSub(SingleRegistrationTableSub sub);
    List<SingleRegistrationTableSub>selectSingleSub(SingleRegistrationTableSub sub);
    List<SingleRegistrationTableSub>selectSingleRegistrationTableSub(int id);
    List<EquipmentStructure>selectEquipmentStructure(EquipmentStructure equipmentStructure);
    List<ComponentBasicInformation>selectComponentBasicInformation(ComponentBasicInformation componentBasicInformation);
    List<ComponentBasicInformationTable>selectComponentBasicInformationTable(ComponentBasicInformationTable componentBasicInformationTable);
    List<EquipmentMechanicalStructureMappingTable>selectEquipmentMappingTable(EquipmentMechanicalStructureMappingTable equipmentMechanicalStructureMappingTable);
    SingleRegistrationTableSub selectPartSingleId(String partSingleId);
    Boolean insertSingleRegistrationTable(SingleRegistrationTable singleRegistrationTable);
    Boolean insertSingleRegistrationTableSub(SingleRegistrationTableSub sub);
    Boolean insertCurrentDataTable(SingleParameterItemCurrentDataTable currentDataTable);
    Boolean insertHistoryDataTable(SingleParameterItemHistoryDataTable historyDataTable);
    Boolean updateMain(SingleRegistrationTable singleRegistrationTable);
    Boolean delSub(int id);
    Integer getSingleRegistrationTableAutoid();
    Integer getSubAutoid();
    Boolean delSingleRegistrationTableSub(int id);
    Boolean delMain(int id);
    Boolean auditMain(int id);
    Boolean auditMain0(int id);
}
